Created
December 24, 2016 15:47
-
-
Save javaeeeee/41925e33817e9528e104013a1a0c9a89 to your computer and use it in GitHub Desktop.
AngularJS module and controller
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', []) | |
| .controller('HelloController', HelloController); | |
| HelloController.$inject = ['$scope']; | |
| function HelloController($scope) { | |
| $scope.myModel = 'World'; | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment