I have a problem that on first click the link is supposed to open a preview
of my file as you see the link, but it is working only when I click on
second time first of all on first click url changes but it is not taking me
there.
here are my javascript for it
.state('/Files', {
url: "/Files",
templateUrl: '/App/scripts/files.html'
})
.state('preview', {
url: '/Files?preview?extension',
templateUrl: '/App/scripts/views/filePreview.html',
controller : 'FilesController'
})
can anyone suggest me a good way I can solve this issue?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.