Skip to content

Instantly share code, notes, and snippets.

@wwwmarcos
Last active July 17, 2017 04:06
Show Gist options
  • Save wwwmarcos/4bb82414c23de0be05f55cb979417dad to your computer and use it in GitHub Desktop.
Save wwwmarcos/4bb82414c23de0be05f55cb979417dad to your computer and use it in GitHub Desktop.
(function() {
'use strict'
angular
.module('alabama', [])
.component('alabama', {
template: '{{message}} {{otherMessage}}',
controller: AlabamaComponentController,
bindings: {
message: '@',
otherMessage: '<'
}
})
function AlabamaComponentController() {
var $ctrl = this
}
})()
<alabama message="Olosco" other-message="vm.message"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment