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

Version Path
susanoo-0.13.0 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.12.3 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.12.2 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.12.1 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.12.0 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.11.1 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.10.0 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.8.0 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.7.4 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.7.2 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.7.1 lib/susanoo/templates/application/src/assets/javascripts/app.js
susanoo-0.7.0 lib/susanoo/templates/application/src/assets/javascripts/app.js