Skip to content

Instantly share code, notes, and snippets.

View uglow's full-sized avatar
🟪
DigIO

Brett Uglow uglow

🟪
DigIO
View GitHub Profile
import angular from 'angular';
import ToDoComponent from './todo.component';
import FormComponent from './form.component';
export default angular
.module('main.app.feature-b', [])
.component('todo', ToDoComponent)
.component('todo', FormComponent)
.name;
@uglow
uglow / angularjs_directive_attribute_explanation.md
Created November 25, 2015 00:55 — forked from CMCDragonkai/angularjs_directive_attribute_explanation.md
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>
@uglow
uglow / Demo1A.js
Last active August 29, 2015 14:02
AngularJS Melbourne - Companion Demo Files
//---------- sitemap.jsonp ----------//
mwApp.SITEMAP=[
{
"title": "Section Title",
"children": [
{
"title": "Page title",
"children": [
{