AngularJS example 4
HTML
<body ng-app>
<input ng-init="shipment_ids = null" ng-model="shipment_ids"></input>
<button ng-click="do_something" ng-disabled="shipment_ids.length < 4">Click me</button>
</body>
<body ng-app>
<input ng-init="shipment_ids = null" ng-model="shipment_ids"></input>
<button ng-click="do_something" ng-disabled="shipment_ids.length < 4">Click me</button>
</body>