Created
June 24, 2014 15:31
-
-
Save msarchet/ca295e42fa687d77cefe to your computer and use it in GitHub Desktop.
angular strict
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-app='app' ng-strict-di> | |
<ng-view></ng-view> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
angular.module('app').controllers(function($log) { | |
$log.log('this is invalid'); | |
}) | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
angular.module('app').controllers(['$log', function(log) { | |
$log.log('this is valid'); | |
}]) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment