You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default behaviour (as described in #37) seems unintuitive to me. Instead I would propose a behaviour like this:
varangular=require('angular');require('ui-router');angular.module('myApp',['ui.router',require('./templates/home.html')// the module name would be '/templates/home.html' by default]).config(function($stateProvider){$stateProvider.state('home',{url: '/',templateUrl: '/templates/home.html'// full path by default});});
The name of the generated module would be the full path to the template instead of just the filename. This is currently achieved with baseDir: "src/js" // optionally specify base directory for filename.