1 2 3 4 5 6
// public/js/controllers/MainCtrl.js angular.module('MainCtrl', []).controller('MainController', function ($scope) { $scope.tagline = 'To the moon and back!'; });