Hi Sander,
   FYI,

var navAppModule = angular.module('navApp',['ngRoute']);

navAppModule.config(['$routeProvider',
               function($routeProvider) {
                   $routeProvider.
                       when('/home', {
                           templateUrl: 'navDashBoard.jsp',
                           controller: 'DashBoardController'
                       }).
                       when('/navpack', {
                           templateUrl: 'navQueue.jsp',
                           controller: 'QueueController'
                       }).
                       when('/geneva', {
                           templateUrl: 'navGeneva.jsp',
                           controller: 'GenevaController'
                       }).
                       when('/history', {
                           templateUrl: 'navHistory.jsp',
                           controller: 'HistoryController'
                       }).
                       when('/events', {
                           templateUrl: 'navEvents.jsp',
                           controller: 'EventsController'
                       }).
                       when('/configurations', {
                           templateUrl: 'navConfig.jsp',
                           controller: 'ConfigController'
                       }).
                      
                       otherwise({
                           redirectTo: '/home'
                       });
               }]);

and html code is 



 <div id="sidebar-wrapper">
       <ul class="sidebar-nav" id="sidebar-nav" >
    <!-- onClick="javascript:getChart();"   -->    <li ><i class="fa 
fa-dashboard"></i>&nbsp; <a  id="dash"  ng-href="#/home" 
 title="DashBoard">Dashboard</a></li>
             <li>
                <i class="fa fa-spinner fa-spin"></i>&nbsp; <a 
ng-href="#/navpack" data-toggle="collapse" data-target="#userMenu" >Queue<i 
class="glyphicon glyphicon-chevron-down"></i></a>
                  <ul class="submenu list-unstyled collapse" id="userMenu" >
                    <!-- <li> <a  href="#/navpack" rel="no-refresh"><i 
class="fa fa-inbox"></i> NAVPack Files</a></li> -->
 <!--     onClick="javascript:getQueue();  -->              <li > <a 
 ng-href="#/navpack" ng-click='go()'><i class="fa fa-inbox"></i> 
Report</a></li>
                     <li><a href="#" rel="no-refresh"><i class="fa 
fa-sign-out"></i>Extract </a> 
                    <li ng-controller="GenevaController as vm" 
ng-click="vm.reload()"><a ng-href="#/geneva" ><i class="fa 
fa-sign-out"></i> Geneva </a>
                    </li>
                  </ul><!--/#inside ul -->
              </li>
               <li> <a ng-href="#/history" ><i class="fa fa-history "></i> 
History</a></li> 
              <li >
                   <i class="fa fa-bell"></i>&nbsp; <a 
ng-href="#/events">Events</a>
              </li>
               <li > <a ng-href="#/configurations" ><i class="fa 
fa-cogs"></i> Configuration</a></li>
        </ul><!--/#sidebar-nav -->
     </div>
     
 <div id="page-content-wrapper" ng-view>
           
         </div>



so all url calls to the ajax,
             I just want to perform double click(subsequent ) (get updated 
ajax call)on each ng-href like in html code 
Dashboard,Queue,Report,Geneva,History,Events.
   I wrote a function for its each new call but breaking my code. If you 
have any doubts on above please let me know
 


On Thursday, 25 June 2015 15:32:44 UTC+5:30, Sander Elias wrote:
>
> Ok,
>
> So you want to add another order when you are done with the current one? 
> is that what you are after?
> one posibility, add an 'done'  route you navigate to when you saved an 
> order. If you then reroute to the add-order, it is all new and fresh.
>
> 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.

Reply via email to