Angularjs 引导转盘滑动控件未响应

Angularjs 引导转盘滑动控件未响应,angularjs,ngroute,Angularjs,Ngroute,我是否创建了多个html页面,其中index.html由引导旋转木马组成,它在一些图像中滑动,我是否通过ngroute连接所有html页面,问题是,在index.html中加载旋转木马时,如果单击旋转木马中的“下一步”或“上一步”按钮,它只是导航到另一个html页面或它的同一页面,我在此粘贴一个工作plunker链接以供参考: 请帮我解决这个问题 Am i creating multiple html pages, where index.html consist of the bootstra

我是否创建了多个html页面,其中index.html由引导旋转木马组成,它在一些图像中滑动,我是否通过ngroute连接所有html页面,问题是,在index.html中加载旋转木马时,如果单击旋转木马中的“下一步”或“上一步”按钮,它只是导航到另一个html页面或它的同一页面,我在此粘贴一个工作plunker链接以供参考: 请帮我解决这个问题

Am i creating multiple html pages, where index.html consist of the bootstrap carousel which slided through some couple of images and am i connecting all the html pages through ngroute,The problem is when loading the carousel in index.html if click the next or prev button in the carousel it just navigating to the another html page or it's same page,i hereby paste a working plunker link for reference: http://plnkr.co/edit/VUS8RjQkVQabEBxRWMdB?p=info Please help me to resolve this issues.

只需在主控制器中使用它

$scope.$on('$routeChangeSuccess', function () {
  $scope.isIndexPage = $location.path() === '/';
});

在此粘贴一个工作plunker链接以供参考:请帮助我解决此问题。最好提供一些代码以查看是否出现问题。此外,你的问题不清楚。