Sha256: 8ae65dc5a890d3aefc793a6b593b87baa47c9ec800c041d464dbb1fd48d60656
Contents?: true
Size: 757 Bytes
Versions: 12
Compression:
Stored size: 757 Bytes
Contents
// Main Application Module // ----------------------- // This module is the start point of application. var App = angular.module("Application", ["ngTouch", "ngAnimate", "ngRoute", "gettext", "angular-gestures"]); // configuration section --------------------------- App.config(["$routeProvider", function($routeProvider){ // Configuring application index route. // Add any route you need here. $routeProvider. when("/", { templateUrl: template("main"), controller: "MainController" }); }]); App.controller("MainController", ["$scope", "gettext", function($scope, gettext){ // Main controller of application. This controller is responsible for `/` url $scope.msg = gettext("Hello world"); }]);
Version data entries
12 entries across 12 versions & 1 rubygems