using decorators to write AngularJS in nearly identical syntax to Angular 2

This commit is contained in:
alecmerdler 2017-02-17 02:55:52 -08:00 committed by Joseph Schorr
parent 8e863b8cf5
commit c60ce4a696
19 changed files with 559 additions and 488 deletions

View file

@ -1,7 +1,9 @@
import { ViewArray } from './view-array';
import { Inject } from '../../decorators/inject/inject.decorator';
import { Injectable } from 'angular-ts-decorators';
@Injectable(ViewArray.name)
export class ViewArrayImpl implements ViewArray {
public entries: any[];