Hi!
Here is a working jsFiddle:
http://jsfiddle.net/pkozlowski_opensource/XK2ZT/2/
There are numbers of things going on here / should be observed:
1) You can't (without using a custom directive) to dynamically
generate a name of an input :-( Indead, looking at
http://docs.angularjs.org/api/angular.module.ng.$compileProvider.directive.input
we can see that the name attribute accepts a string only;
2) Strangly enough the input of type 'url' won't show any value if the
url provided is invalid. I need to dig into this a bit as it seems to
be counter-intuitive.
3) To solve the 'dynamic name' problem you need to create an inner
form (see ng-form); the other alternative would be to write a custom
directive for this. BTW: I have found this trick with an inner form
while searching this mailing list, this topic pops up from time to
time so there are other solutions as well.
Hope this helps,
Pawel