How to capture parameter passed via factory of Angular JS in PHP page

0

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', {}, {});
    
asked by anonymous 20.02.2017 / 18:07

0 answers