angular ui - Next view in AngularJs -


i creating application in angularjs. have created demo application implement feature http://plnkr.co/edit/zzapdzygutpd2m8ju4jr?p=preview

in application there 2 link mobile view , desktop view when click on mobile view showing interface shown in mobile devices ( i.e first interface override second one.)

when click on desktop view showing interface shown in desktop devices ( i.e left menu having detail in middle of page.)

but think config.js can written in more better way , redirection other pages should in other possible way of using

$state.current.data != undefined && $state.current.data.parent == 'desktop'

i new angularjs please suggest standard way this.

check angular-responsive responsive design directives, video present how use it.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -