Gem instructions
Use gsub so that ndepth attributes have the right access string in ng-model