Troubleshooting upgrade to angular 1.3 from 1.0.5

My application is being updated to use angularjs 1.3 from 1.0.5. Because of this, several components in an application like "ngRoute" are broken up as a separate module, but this is not a big problem. I used several directives for the same elements, and now this model no longer works. If they were my own directives, I could change the directives, but ngDirectivesthat I don’t know how to fix. Here is an example that breaks:

<div ng-switch-when="view" ng-include=" 'views/view1.html' "></div>

and inside 'view1.html' I have something like this:

<div ng-grid="gridData"
             ng-switch-when="grid"></div>

I tried the following:

<div ng-switch-when="view1">
        <ng-include src=" 'views/view1.html' "></ng-include>
    </div>

I get similar errors, for example "multidir" . I do not know what steps I have to follow to get my application working. Any help is noticeable.

+4
2

ng-if ng-switch-when, , .

<div ng-if="view" ng-include="'/partial.html'"></div>

. SO-

+4

All Articles