All Questions
Tagged with angular-templatecache angular-ui-router
5 questions
1
vote
1
answer
124
views
How to use $templateCache for partials that are used in ui-router?
.state ('pages', {
url: '/pages',
templateUrl: 'views/common.html'
})
<script type="text/ng-template" id="common.html">
how to use this using Ui-router?
0
votes
1
answer
96
views
Using $templateCache with ui-router and uglify in angular 1.x
Sharing this as a Qusstion-answer post.
What to do when you have to use $templateCache in templateProvider of a route in ui-router and have to utility the code? Injecting does not work, and angular ...
0
votes
2
answers
237
views
UI Router controller not working when view is pulled in with $templateCache?
I am using gulp-angular-templatecache to convert all of my filename.view.html files into a templates.js file.
I'm then using $stateProvider to create my states and pull in the templates using $...
6
votes
3
answers
4k
views
angularJS $stateProvider : How to unit test different views in UI-Router?
How can I unit test different views for the below scenario
.state('app.sr.product.upload', {
name: 'upload',
url: '/upload',
data: {
tags: [],
...
0
votes
2
answers
192
views
1 $templateCache, 2 modules
In an angular app, I have a module that I want to use within another.
module A defines listController and the list.html file that goes along with that controller
All html files are put into $...