Skip to content

Instantly share code, notes, and snippets.

@jelbourn
jelbourn / input.scss
Created December 15, 2022 22:52
Generated by SassMeister.com.
@function button() {
@return (
id: 'mat-button',
something: 'xxx',
)
}
@mixin button-theme($theme) {
.mat-button {
color: blue;
@jelbourn
jelbourn / api-provider.js
Last active February 25, 2024 12:51
Example of using an angular provider to build an api service. Subject of August 20th 2013 talk at the NYC AngularJS Meetup. http://www.meetup.com/AngularJS-NYC/events/134578452/See in jsbin: http://jsbin.com/iWUlANe/5/editSlides: https://docs.google.com/presentation/d/1RMbddKB7warqbPOlluC7kP0y16kbWqGzcAAP6TYchdw
/**
* Example of using an angular provider to build an api service.
* @author Jeremy Elbourn (@jelbourn)
*/
/** Namespace for the application. */
var app = {};
/******************************************************************************/