Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- /**
- * @ngdoc function
- * @name critterNannycomApp.controller:MainCtrl
- * @description
- * # MainCtrl
- * Controller of the critterNannycomApp
- */
- var app = angular.module('critterNannycomApp',['ngRoute'])
- .controller('MainCtrl', function ($scope) {
- $scope.awesomeThings = [
- 'HTML5 Boilerplate',
- 'AngularJS',
- 'Karma'
- ];
- });
- app.config(['$routeProvider', function($routeProvider) {
- $routeProvider
- .when('/gallery', {
- template: '/views/gallery.html'
- });
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement