Skip to content

Using with AngularJS

zishanj edited this page May 29, 2015 · 1 revision

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>
Clone this wiki locally