Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
fix(gen): Un-escape dependencies list
Browse files Browse the repository at this point in the history
Fixes #68
  • Loading branch information
Aaron Allport committed Jan 25, 2016
1 parent 4ec78fc commit 15ecd6e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/javascript/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ define(['angular']/*deps*/, function (angular)/*invoke*/ {
* Main module of the application.
*/
return angular
.module('<%= scriptAppName %>', [/*angJSDeps*/<% for (var i = 0; i < angularModules.length; i++) { %>
'<%= angularModules[i] %>'<% if (i < angularModules.length - 1) { %>,<% } -%><% } -%>

])<% if (ngRoute) { %>
.module('<%= scriptAppName %>', [/*angJSDeps*/<%- angularModules %>])<% if (ngRoute) { %>
.config(function ($routeProvider) {
$routeProvider
.when('/', {
Expand Down

0 comments on commit 15ecd6e

Please sign in to comment.