Hi,

I think you need to use ng-non-bindable directive.

Thanks and regards,
Nandita

On Tuesday, April 10, 2018, alternateName <daniel.l.ho...@gmail.com> wrote:

>
> I want to know if there is a way with the Angular and Angular CLI to
> define a region of code that will be omitted when compiling for prod.
>
>
> Like you would in C# with
>
> #If DEBUG
> #ENDIF
>
> I am using Angular 4 with compiler version 1.7.3
>
> Thank you in advance for the help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Nandita Bhattacharya
Project Linked Person
Machine Intelligence Unit
Indian Statistical Institute

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to