Skip to content

Instantly share code, notes, and snippets.

@jasonhodges
jasonhodges / material.module.ts
Created July 30, 2017 19:03
Angular module for holding all Material modules
import { NgModule } from '@angular/core';
import {
MdButtonModule,
MdCardModule,
MdListModule,
MdMenuModule,
MdPaginatorModule,
MdProgressBarModule,
MdSidenavModule,
MdSnackBarModule,
@tbranyen
tbranyen / _usage.md
Last active August 15, 2024 21:13
OpenWeatherMap / Weather Icons integration
  1. Include Weather Icons in your app: https://github.com/erikflowers/weather-icons

  2. Include the below JSON in your application, for example purposes, lets assume it's a global named weatherIcons.

  3. Make a request to OpenWeatherMap:

req = $.getJSON('http://api.openweathermap.org/data/2.5/weather?q=London,uk&callback=?');