Skip to content

Instantly share code, notes, and snippets.

@robwormald
Forked from tiddle/ProductListComponent.js
Last active March 21, 2016 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robwormald/96411da83771462f9adf to your computer and use it in GitHub Desktop.
Save robwormald/96411da83771462f9adf to your computer and use it in GitHub Desktop.
Product List Component
class AppComponentController {}
export const AppComponent {
bindings: {
products: '=',
sort: '&'
},
controller: AppComponentController
}
angular.module('app', [])
.component('appComponent', AppComponent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment