Esri / angular-esri-map

A collection of directives to help you use Esri maps and services in your Angular applications
https://esri.github.io/angular-esri-map/
Apache License 2.0
213 stars 107 forks source link

Test with Angular v1.6.0+ (master branch) #319

Closed jwasilgeo closed 7 years ago

jwasilgeo commented 7 years ago

Related to #314. This issue is for the master (v2) angular-esri-map branch.

e2e functional tests will go over a suite of Angular pre-v1.6.0 (ONCE) and Angular v1.6.0+ to make sure any controller code changes to support the $compile's $onInit() work for older and newer Angular versions.

See here and the part about:

If you are writing a library, you need to change your code as shown above. Furthermore, if your library also targets versions before 1.5 (which do not support the $onInit() lifecycle hook), you may need to manually call $onInit() from your constructor...