Remove rp-if directive. Use ng-if instead.