I\'m trying to pass the $scope variable values to a custom directive as attribute, but it\'s not working.
Here is the HTML code:
I think you need to pass "q.id" instead of name={{q.id}} provided $scope.q.id is defined in your corresponding controller.