Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component tree bundler #101

Merged
merged 10 commits into from
Jun 13, 2016
Merged

Component tree bundler #101

merged 10 commits into from
Jun 13, 2016

Conversation

Hotell
Copy link
Member

@Hotell Hotell commented Jun 12, 2016

Closes: #95 #99 #100

Hotell added 10 commits June 11, 2016 23:23
…h utils for supporting provide via map registration
BREAKING CHANGES:

You have to bootstrap your app via root component like Angular 2 does.
This is because we use now tree resolving algorithm for building Angular.module

before:
```typescript
import {bootstrap} from 'ng-metadata/platform';
import {AppModule} from './index'; // string

bootstrap(AppModule);
```

after:
```typescript
import {bootstrap} from 'ng-metadata/platform';
import {LegacyModule} from './index'; // string
import {AppComponent} from './index'; // class with @component decorator

bootstrap(AppComponent, [LegacyModule]);
```
… for registering config phase functions via provide

- clean up provider and move related logic to provider_utils and reflective_provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant