Skip to content

Using Polymer 'Paper Elements' with AngularJS

zishanj edited this page May 29, 2015 · 3 revisions

Installation Instructions

Using Polymer elements with AngularJS doesn't require to install Polymer directly. You can install individual Polymer elements only as documented here.

paper-input

paper-input element is using paper-input-container as it's base element. AngularJS uses ng-model directive to bind values to input control. To work with this, you will have to use paper-input-container like this as documented here:

<paper-input-container>
  <label>Test input</label>
  <input is="iron-input" ng-model="test.test_input"></input>
</paper-input-container>