I think if you set a class with !important it will have more specificity
that an inline style, we should try it and see


On Fri, Mar 21, 2014 at 5:34 PM, Lucas Galfaso <lgalf...@gmail.com> wrote:

> Hi,
>   Sorry, I thought that 1.0.8 did support for ng-attr-* directives, but it
> looks like that it not the case.
>   "!important" is an attribute you can put in a css definition, everything
> you put at a `style` attribute overrides every css property for that
> element.
>
> -lg
>
> On Friday, March 21, 2014 4:36:55 PM UTC-3, Fernando Gabrieli wrote:
>
>> Thanks Lucas, but i think my angular version doesn't support it, 1.0.8,
>> is this possible?
>>
>> Also  i couldn't make ng-style accept adding "!important" to the rules,
>> it just accepts the object with key, value, where can i put the
>> "!important"?
>>
>>
>>
>>
>> On Fri, Mar 21, 2014 at 4:24 PM, Lucas Galfaso <lgal...@gmail.com> wrote:
>>
>>> Hi,
>>>   You can check how the ng-attr directive is used at
>>> http://docs.angularjs.org/guide/directive at the section named "ngAttr 
>>> attribute
>>> bindings"
>>>
>>> Note: it is not meant to be used for the `style` attribute, in that case
>>> use `ng-style`
>>>
>>> -lg
>>>
>>>
>>> On Friday, March 21, 2014 10:45:30 AM UTC-3, Fernando Gabrieli wrote:
>>>
>>>> Hi Kamal, thanks for replying, you mean using it like:
>>>>
>>>> data-ng-attribute-style="background-color: red" ?
>>>>
>>>> I tried it but it didn't work i might be doing something wrong
>>>>
>>>> thanks
>>>> Fernando
>>>>
>>>>
>>>> On Fri, Mar 21, 2014 at 6:22 AM, Kamal <kama...@gmail.com> wrote:
>>>>
>>>>> Fernando,
>>>>>
>>>>> As far as the docs/code goes i don't see any directive with the
>>>>> specific name 'ngAttr' if you meant by the following attributes
>>>>> "ng-multiple,ng-selected,ng-checked,ng-disabled,ng-readonly,
>>>>> ng-required,ng-src,ng-href" (as per code are said as ngAttribute's)
>>>>> there are available in 1.0.8.
>>>>>
>>>>> Regards,
>>>>> Kamal
>>>>>
>>>>> On Thursday, 20 March 2014 20:31:55 UTC+5:30, Fernando Gabrieli wrote:
>>>>>>
>>>>>> Hi all, do you know what version of Angular supports the ngAttr
>>>>>> directive? I am using v1.0.8
>>>>>>
>>>>>> cheers
>>>>>> Fernando
>>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "AngularJS" group.
>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>>>> pic/angular/n5jNDE6wR2s/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> angular+u...@googlegroups.com.
>>>>> To post to this group, send email to ang...@googlegroups.com.
>>>>>
>>>>> Visit this group at http://groups.google.com/group/angular.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "AngularJS" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/angular/n5jNDE6wR2s/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> angular+u...@googlegroups.com.
>>> To post to this group, send email to ang...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/n5jNDE6wR2s/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to