SHARE
TWEET
Untitled
a guest
Dec 18th, 2014
124
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Controller :
- $scope.listing_summary = '';
- $scope.send = function (form) {
- // Check that the form is valid before doing anything
- if (form.$valid) {
- console.log(1, $scope.listing_summary);
- }
- };
- Template :
- form(name='form')
- h1.form-label(translate='') Listing summary
- div {{ listing_summary }}
- textarea.single-input-form(type='text'
- name='summary'
- maxlength='300'
- placeholder='{{ "Tap to enter" | translate }}'
- ng-model='listing_summary')
- button(ng-click='send(form)')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

