Skip to content

引入多个angular.js时候,angular程序会出错 #32

Description

@Wscats

比如下面这行代码,实际上引入了两个angular.jsionic.js,这样会引发致命错误,Angular程序只能引入一个angular.js,因为ionic.bundle.js本身就包含了angular.jsionic.js

<script type="text/javascript" src="js/angular.js"></script>
<script type="text/javascript" src="js/ionic.min.js"></script>
<script src="js/ionic.bundle.js"></script>

导致ng-repeat失效

<p ng-repeat="m in music"></p>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions