Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var myApp = angular.module('myApp', ['mainControllers']);
- mainControllers.controller('mainController', ['$scope', function ( $scope) {
- $scope.init = function () {
- alert('I am initialized');
- };
- $scope.click = function () {
- alert('I am clicked');
- };
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement