fix(docs): change all directive references to use the normalized names

This commit is contained in:
Igor Minar
2012-04-06 16:35:17 -07:00
parent 7468bcb80b
commit 82d90a4096
54 changed files with 349 additions and 332 deletions

View File

@@ -67,7 +67,7 @@ describe('ng-repeat', function() {
it('should error on wrong parsing of ng-repeat', inject(function($rootScope, $compile) {
expect(function() {
element = $compile('<ul><li ng-repeat="i dont parse"></li></ul>')($rootScope);
}).toThrow("Expected ng-repeat in form of '_item_ in _collection_' but got 'i dont parse'.");
}).toThrow("Expected ngRepeat in form of '_item_ in _collection_' but got 'i dont parse'.");
}));

View File

@@ -181,7 +181,7 @@ describe('select', function() {
it('should throw when not formated "? for ? in ?"', function() {
expect(function() {
compile('<select ng-model="selected" ng-options="i dont parse"></select>');
}).toThrow("Expected ng-options in form of '_select_ (as _label_)? for (_key_,)?_value_ in" +
}).toThrow("Expected ngOptions in form of '_select_ (as _label_)? for (_key_,)?_value_ in" +
" _collection_' but got 'i dont parse'.");
});