jquery - Accordion from template not working with AngularJS -


i'm new angularjs , i've been using in project has admin template i've downloaded.

it's been working fine until added angularjs it.

one of problems accordion on navbar no longer works.

my accordion:

<ul class="nav nav-pills nav-stacked main-menu">     <li class="accordion">         <a href="#">             <i class="fa fa-bullhorn"></i>             <span> anouncements</span>              <span class="accordion-arrow pull-right">             <i class='fa fa-chevron-right'></i>             </span>        </a>        <ul class="nav nav-pills nav-stacked">           <li>                <a href="#" data-toggle="tooltip" data-placement="right" title="browse announcements">                    <i class="fa fa-angle-double-right"></i> browse                </a>           </li>           <li>               <a href="#" data-toggle="tooltip" data-placement="right" title="create announcement">                   <i class="fa fa-angle-double-right"></i> create               </a>          </li>        </ul>     </li> </ul> 

my app.js

'use strict';  var myapp = angular.module('myapp', [     'ngroute', ])         .config(['$routeprovider', function ($routeprovider) {                 $routeprovider.otherwise({redirectto: "/"});               }]); 

angular doesn't know display. have router initialized redirect, no actual routes configured.

it lot of things, though. without plunker of relevant code it's hard accurately troubleshoot.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -