nickperkinslondon / angular-bootstrap-nav-tree

An AngularJS directive that creates a Tree based on a Bootstrap "nav" list.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular2

candidature opened this issue · comments

Is it possible to use this with angular2 in current form?
Do you also plan to upgrade it?

Just to consolidate the discussion here:
I am currently working though old PRs and issues. I fully intend to investigate adding modern angular support but it will be a while as the coffee script file will need to be converted to typescript and that is after all the necessary tests and CI is implemented to ensure backwards compatibility does not break.

All that being said, I'm not entirely sure there is a clear cut path to provide an AngularJS directive and an Angular2+ component from one codebase. The general idea would be to pull the tree functionality to plain typescript then define/output the ng1 directive and ng2+ component separately. That is a bit of a hand wave, but is where I am starting from.

Before that is done though, I need to get tests in place to ensure there aren't regressions going from coffeescript to typescript.