Skip to content

Instantly share code, notes, and snippets.

Avatar

David Pich davidpich

View GitHub Profile
@davidpich
davidpich / sample-slack-coc.md
Created Jul 31, 2017 — forked from annalee/sample-slack-coc.md
A sample code of conduct for social slack teams.
View sample-slack-coc.md

[SLACKNAME] Code of Conduct

Welcome!

[BRIEF DESCRIPTION OF THE SLACK AND ITS PURPOSE]

The current admins are:

  • [NAMES]
View http-response-interceptor.js
angular.module('myMdl', []).config(['$httpProvider', function($httpProvider) {
$httpProvider.responseInterceptors.push([
'$q', '$templateCache', 'activeProfile',
function($q, $templateCache, activeProfile) {
// Keep track which HTML templates have already been modified.
var modifiedTemplates = {};
// Tests if there are any keep/omit attributes.
var HAS_FLAGS_EXP = /data-(keep|omit)/;
View api-provider.js
/**
* Example of using an angular provider to build an api service.
* @author Jeremy Elbourn (jelbourn@google.com)
*/
/** Namespace for the application. */
var app = {};
/******************************************************************************/
You can’t perform that action at this time.