https://github.com/connor11528/gmail-clone
thinkful angular.js tutorial
https://github.com/connor11528/gmail-clone
Last synced: 3 months ago
JSON representation
thinkful angular.js tutorial
- Host: GitHub
- URL: https://github.com/connor11528/gmail-clone
- Owner: connor11528
- Created: 2014-10-30T00:00:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-30T02:33:08.000Z (about 11 years ago)
- Last Synced: 2025-01-05T13:25:19.408Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://connorlee.ch/gmail-clone
- Size: 410 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gmail-clone
====
### Filters
{{ [ firstName, lastName ].join(" ") }}
{{ cost * quantity | currency }}
{{ ( total > budget ) ? "Too Expensive" : "You can buy it!" }}
### Directive
app.directive('myCustomElement', function myCustomElement() {
return {
restrict: 'EA',
replace: true,
scope: true,
template: [
"
",
" My Custom Element's Heading
",
" Some content here!
",
" {{ ctrl.expression | json }},"
""
].join(""),
controllerAs: 'ctrl',
controller: function ($scope) {
this.expression = {
property: "Example"
}
},
link: function (scope, element, attrs) {}
}
});