How to capture [in a PHP page] the value of input
down using factory
of AngularJS?
HTML:
<input type="text" name="edicao" ng-model="edicao"
value="<?php if(isset($_GET['edicao'])){echo $_GET['edicao'];}else{}?>" />
AngularJS:
factory.autosave = $resource('actions/autosave.php', {}, {});