Menu icon Foundation

My Posts


My Comments

Anton commented on Anton's post over 4 years

I watched the documentation and know that ui-route can resolve to implement. My question is what would resolve not write in js file but directly in the template. for example

---
name: reg
url: / reg
controller: regMainPazhe
resolve: function () {....}
---

So it works, but the inside did not write a function returns an error. I would like to know how all the same resolve to implement within the template

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Anton's post over 4 years

I watched the documentation and know that ui-route can resolve to implement. My question is what would resolve not write in js file but directly in the template. for example

---
name: reg
url: / reg
controller: regMainPazhe
resolve: function () {....}
---

So it works, but the inside did not write a function returns an error. I would like to know how all the same resolve to implement within the template

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content