Marko, Create a function in your controller that checks the result of the search service, and forward to the result view if ok, otherwise let the user know what he has to do, and stay within the same view. You can indeed trigger this function with an ng-click handler.
Regards Sander -- 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
