I am actually stuck with an interesting problem,

I am trying to make soemthing of this sort:

> 
> input key 1 , input value 1
> 
> 
> input key 2 , input value 2 < button to add more >
> 
> 
> < submit button >
> 
> 
> 

Basically a user can click submit and issue a Get request to a given URL. now when he click to add more a new row appears with two input fields, where he can add more http get paarmeters.

I tried coding this up, but I am close to this: <http://jsfiddle.net/d2jL2n35/1/>

Could you please help me...

Two questions:

1. How to dynamically add a new row after the plus box is clicked?

```
myApp.directive('options',function(){
return {
    restrict:"E",
    template:"<div><input placeholder='params1' type='text'/><input placeholder='params2' type='text'><button><i class='glyphicon glyphicon-plus'></i></button></div>"
}

```

})

Ok solved the first one by using $compile: <http://jsfiddle.net/KyEr3/216/>

2. How to get all the params and issue a get request?????