Mines AngularJS templates for data references