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
jQuery -> | |
$(document).on "click",'.pagination a[data-remote=true]', (e) -> | |
history.pushState {}, '', $(@).attr('href') |
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
<script> | |
System.config({ | |
packages: { | |
build: { //name must match folder | |
format: 'register', | |
defaultExtension: 'js' | |
} | |
} | |
}); | |
System.import('build/boot') //import must match folder |
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 {Http, Headers,HTTP_PROVIDERS} from 'angular2/http'; | |
import {Component} from 'angular2/core'; | |
import {NgForm} from 'angular2/common'; | |
import { fileupload } from "./upload" | |
import 'rxjs/add/operator/map'; | |
@Component({ |
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
<h1 md-dialog-title>Would you like to order pizza?</h1> | |
<md-dialog-actions> | |
<button (click)="dialogRef.close('yes')">Yes</button> | |
<button md-dialog-close>No</button> | |
</md-dialog-actions> |