Allow variables to be referenced using dot syntax in parameter

This change allows a property of an object to be used in the directive's parameter, eg:

<div class="item-instance" ng-repeat-n="item.qty">

It uses Angular's $parse function to safely resolve the string in the current scope.