{
type: 'teacher'
id: number
firstName: string
lastName: string
}
{
type: 'student'twitter: @coryrylan
Short url: https://goo.gl/7qCcE6
https://angularbootcamp.com/survey
Workshop App
This file contains hidden or 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 { NgModule, ModuleWithProviders } from '@angular/core'; | |
| import { CommonModule } from '@angular/common'; | |
| import { VideoDataService } from './video-data.service'; | |
| @NgModule({ | |
| imports: [CommonModule] | |
| }) | |
| export class CoreModule { | |
| static forRoot(): ModuleWithProviders { |
This file contains hidden or 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
| export function deepClone<T>(obj: T): T { | |
| let copy; | |
| if (null === obj || 'object' !== typeof obj) { | |
| return obj; | |
| } | |
| if (obj instanceof Date) { | |
| copy = new Date(); | |
| copy.setTime(obj.getTime()); |
This file contains hidden or 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
| // Example | |
| // <input ngControl="title" /> | |
| // <show-error control="title"></show-error> | |
| import {Component, Inject, Host, NgFormModel} from 'angular2/angular2'; | |
| import {ValidatorsService} from './services/validation/validators.service'; | |
| @Component({ | |
| selector: 'show-error', | |
| properties: ['controlPath: control'], |
#Trusted HTML and CSS sources
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
This contract is not meant to trick or deceive you; the intention is purely to protect both parties. I have tried to keep the wording as plain as possible, but if anything is unclear, please let me know and I will be more than happy to clarify it with you. Also, until you sign it, please feel free to request to change bits of it to suit your requirements.
In short, [client name] is contracting me, [my name], to [description of my role] between [start date and finish date].
By signing this, you are confirming that you have the power and ability to enter into this contract on behalf of [client's company].
NewerOlder