I have a *{{bgColour}}* which is linked to *ng-model="bgColour".* I want to
assign a #colourValue ( say #fff or #000 etc) to {{bgColour}} when an image
( say in colour RED ) in a popup modal. The idea is to change colours in a
theme when clicked on the colour palette ( just a bunch of images with
corresponding colour ). bgColour is the theme colour which I am trying to
change. Trying to use *ng-click=" an expression to insert corresponding hex
colour value for bgColour "* to change the colour. But I do not know the
expression that could be used to insert various hex colour values when
different images are clicked. Any help would be great.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.