Skip to content

Instantly share code, notes, and snippets.

import {Component, Input} from "angular2/core";
import {CORE_DIRECTIVES} from "angular2/common";
import {Router, RouterLink} from "angular2/router";
@Component({
selector: 'Article-Item',
templateUrl: 'app/components/article/article-item.html',
directives: [CORE_DIRECTIVES, RouterLink],
})
export class ArticleItem {
@mcknightg
mcknightg / layout.css
Created February 12, 2016 06:43
Social Network Application CSS
.fa-2x { color: #75858c }
.ds-btn li {
list-style: none;
float: left;
padding: 10px;
}
.ds-btn span{
font-size:90%;
}
.ds-btn li a span {
@mcknightg
mcknightg / index.html
Created December 25, 2015 07:23
Loading and using external js
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="/typeahead.js"></script>
</head>