Alternative: You can use the following to get your current location and then manipulate the appearance with jQuery. Hope this helps.
var path = window.location.pathname.substring(1);
var path_split = path.split("/");
var path_location = path_split[path_split.length - 2];
if (path_location == 'contacts') {
...
} else if (path_location == 'tickets') {
...
}
could you explain me better how to do it? should i rename the file by adding the parameters or what? and from app.js how do I select the correct template?
There is work in progress to pass context to the app. The context will help identify the location and page the app renders.
Workaround until it is ready is to use url parameters eg., template.html?page=ticket Get the argument choose the display.