>Snip : In addition, instead of the text for the linkText I see {{linkText}} on the button caption. Although I am going to re-test now after I added single quotes around the text.
>
>That's probably because you don't have a 'linkText' on the controller scope in the directive......
>You don't need the nested quotes in the attribute.
>
>Can't tell from your code why the 'IsNew' isn't been interpreted correctly - but I'd guess it's because it's not in the $scope
>
I found lately I had some errors in the directive code, so that's why I was seeing some weird effects.Once I fixed them, it started to work OK, although for this form it is more complicated as our other forms due to the fact the primary key is character and not integer. I spent time yesterday trying to solve that problem but left in still not working state. Looks like my colleague also figured this out and went in the right direction. I haven't yet looked into his changes, hopefully they solved the problem.
If it's not broken, fix it until it is.
My Blog