Skip to content

Instantly share code, notes, and snippets.

@javaeeeee
Created January 24, 2017 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javaeeeee/1be5509fd8f5aa028ab582984b2d93ab to your computer and use it in GitHub Desktop.
Save javaeeeee/1be5509fd8f5aa028ab582984b2d93ab to your computer and use it in GitHub Desktop.
The file containing HelloController
(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