I am trying to trying a view using backbone
+backbone-marionette.js..But I am able to get alert in route .But I want to
display a view .But I am not able to display my template ?could you please tell
me how to show my first view in angular
var firstpage = Backbone.View.extend({
template:"template/firstpage"
})
Mark M
28-Jan-2015There are many things you have to look at, to display that simple message.
this will initiate the router on document ready.
Now in router function we will initialize our View and append it to body
el contains all the events and html , read about it here
For this to work we have to set some html to el of view on initialize