Skip to content

Manual bootstrapping angular not supported #34

Description

@alex-hall

As per Angular 2 documentation:

Pure Angular 1 applications can be bootstrapped in two ways: By using an ng-app directive 
somewhere on the HTML page, or by calling angular.bootstrap from JavaScript. In Angular 2, only 
the second method is possible - there is no ng-app in Angular 2. This is also the case for hybrid 
applications. Therefore, it is a good preliminary step to switch Angular 1 applications to use the 
JavaScript bootstrap method even before switching them to hybrid mode.

So in order to get this gem working with Angular 2 or even hybrid ng-upgrade apps, ng-app can no longer be required.

The protractor documentation solved this problem in a similar way to how the gem has solved it, so only minor updates are required.

I have already forked the gem and made the change here: #33

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