I was generating a form action in my previous version of AngularJS using this code:
AngularJS
Since Angular 1.2.x, you can bind only one expression as URL.
Hence, on your controller, do the following:
$scope.actionUrl = $scope.api + '/products/image';
And in the template:
Update
As suggested by @Fourth: