angularjs - Ionic angular js -



angularjs - Ionic angular js -

hello guys im struggeling ionic , angular build news site view menu points ionic menu points wrote news in array

for illustration

http://plnkr.co/edit/zwohlcmzdxukd4lawn4t?p=catalogue

.controller('newsctrl', function($scope) { var items = [ {id: 1, news_item: 'news example'} ]; });

how can route right path news_item.html site klicked on. if click on first 1 tempalte 'news example'

i couldn't test reply because plunker not working. think forgot index.html file.

but believe should add together items list url redirect page :

.controller('newsctrl', function($scope) {

var items = [ {id: 1, news_item: 'news example', template_url : '/path/to/template'} ]; });

then can add together path href in <a></a> block.

hope help

angularjs getelementbyid ionic-framework

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -