This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:angular2/core.dart'; | |
import 'dart:js' as js; | |
@Component( | |
selector: 'my-app', | |
templateUrl: 'app_component.html') | |
class AppComponent { | |
@HostBinding('class') String css = 'ui main container'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { join } from 'path'; | |
import { argv } from 'yargs'; | |
import { Environments, InjectableDependency } from './seed.config.interfaces'; | |
/** | |
* The enumeration of available environments. | |
* @type {Environments} | |
*/ | |
export const ENVIRONMENTS: Environments = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {provide, ReflectiveInjector} from '@angular/core'; | |
import {BaseRequestOptions, ConnectionBackend, Http, HTTP_PROVIDERS, Response, ResponseOptions} from '@angular/http'; | |
import {MockBackend} from '@angular/http/testing'; | |
import {Observable} from 'rxjs/Observable'; | |
//imaginary service and model | |
import {DataService} from '../index'; | |
import {Data} from '../model/index'; | |
export function main() { |