Zurb's Foundation For Apps is using a special plugin that creates routes directly from each view, it will parse all the HTML files to find this kind of markdown structure :
---
name: items
url: /items
controller: ItemCtrl
---
which will use to generate the necessary angular Dynamic Routing code and use gulp to compile a routes.js file which will contain this :
var foundationRoutes = [
    {
        "name":"items",
        "url":"/items",
        "controller":"ItemCtrl",
        "path":"templates/items.html"
    }
];
So my question is, if I want to change my templates path or restructre my app or if I need more advanced use for angular's ui-router specially state.resolve and state.views, Is there a way to replace the built-in Dynamic Routing plugin by a $stateProvider instance without breaking any of the other F4A's built-in components ?
UPDATE : The special plugin is called Front Router and this is its Github Repository.
                        
This solution solved my issue :
gulpfile.js: comment out the FA router part :index.html: remove theroutes.jsapp.js: comment out the dynamicRouting modules and modify the config part :You need a
.stateentry for each route/template you had before. In this example the part before looked like this :NOTE: Animation may also be added to
state(after version 1.1 I guess) :