strange template "optimization" ?

53 views
Skip to first unread message

s9gf4ult

unread,
Apr 28, 2012, 7:58:51 AM4/28/12
to ang...@googlegroups.com
Hello
Here is the part of my template (which inserts in the <div ng-view>
<div class="header">
  <span>
   some text here
  </span>
</div>
template works but strange, when i look into firebug i see
<div class="header">
   some text here
</div>
and no one <span> tag inside it, but i need it in my CSS styles !
how to fix that ?

Dan Doyon

unread,
Apr 28, 2012, 8:02:25 PM4/28/12
to ang...@googlegroups.com
can you provide a jsfiddle? 
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/rNa2ODPJMQ8J.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.

Misko Hevery

unread,
Apr 29, 2012, 12:42:45 AM4/29/12
to ang...@googlegroups.com
jsfiddle please.. I have tried here: http://jsfiddle.net/TCQsj/ and it works.

-- Misko

s9gf4ult

unread,
May 2, 2012, 1:31:27 AM5/2/12
to ang...@googlegroups.com
Sorry that was just my brain's general failure. I just wrote tag in one place and looked it in another :)

воскресенье, 29 апреля 2012 г., 10:42:45 UTC+6 пользователь Misko Hevery написал:
jsfiddle please.. I have tried here: http://jsfiddle.net/TCQsj/ and it works.

-- Misko

On Sat, Apr 28, 2012 at 5:02 PM, Dan Doyon <dand...@yahoo.com> wrote:
can you provide a jsfiddle? 
On Apr 28, 2012, at 4:58 AM, s9gf4ult wrote:

Hello
Here is the part of my template (which inserts in the <div ng-view>
<div class="header">
  <span>
   some text here
  </span>
</div>
template works but strange, when i look into firebug i see
<div class="header">
   some text here
</div>
and no one <span> tag inside it, but i need it in my CSS styles !
how to fix that ?

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/rNa2ODPJMQ8J.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/angular?hl=en.

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages