Sha256: dab5c1c235a6f7dc48f9d328b1f8f9000701e0cdf70141cec5dc8e92a32846df
Contents?: true
Size: 897 Bytes
Versions: 8
Compression:
Stored size: 897 Bytes
Contents
// <%= module_name.humanize%> Module var <%= module_name %> = angular.module("<%= module_name.camelize %>", ["gettext"<% dependencies.each do |dep| %>, "<%= dep.camelize %>"<% end %>]); // configuration section --------------------------- <%= module_name %>.config(["$routeProvider", function($routeProvider){ // Configuring application index route. // Add any route you need here. $routeProvider. when("/<%= directory_name %><%= module_name %>/", { templateUrl: template("<%= directory_name %><%= module_name %>/index"), controller: "<%= module_name.camelize %>Controller" }); }]); <%= module_name %>.controller("<%= module_name.camelize %>Controller", ["$scope", "gettext", function($scope, gettext){ // <%= module_name.camelize.humanize %> controller of application. This controller is responsible for `/<%= module_name %>` url }]);
Version data entries
8 entries across 8 versions & 1 rubygems