jokade / angulate2

Scala.js bindings for Angular
MIT License
87 stars 15 forks source link

Requirement on Global Namespace #29

Closed AugustNagro closed 7 years ago

AugustNagro commented 8 years ago

The facades in this project require angular at a global namespace, but can that be avoided?

It's ideal to work with modules, and the RCs don't provide a namespace-polluting build file. I haven't found a way to get SystemJS to expose ng.

Would import sytax like this be required?

jokade commented 8 years ago

With the advent of 0.6.13, Scala,js now supports modules. I'm currently working on a major update that will solve this problem

jokade commented 7 years ago

The new 0.1-NSAPSHOT now uses the CommonJS module format (requires Scala.js 0.6.13+).