AngularJS app not working on Opera/Mac

1,245 views
Skip to first unread message

Nand

unread,
Jan 9, 2013, 6:22:04 PM1/9/13
to ang...@googlegroups.com

Hi,


I have one test app, which runs on Chrome, Safari and Fireworks on Mac.

But same app is not working on Opera (Version 12.12) on Mac.

 

Is it the know issue in AngularJS?

 

Here is the code(also attached app herewith):

http://plnkr.co/edit/MRB0QC4KRvLuVqi3hxfl

 

Thanks & Regards,

Nand

TestApp.zip

Peter Bacon Darwin

unread,
Jan 10, 2013, 4:06:20 AM1/10/13
to ang...@googlegroups.com
What is not working on Opera?  What is the minimal example that does "work".  What if you remove the video element?  What if you remove angular and only have the video?


--
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+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.
 
 

Nand

unread,
Jan 10, 2013, 2:59:09 PM1/10/13
to ang...@googlegroups.com
Hi Peter,

Thanks for your reply.

This test code http://plnkr.co/edit/MRB0QC4KRvLuVqi3hxfl not working on Opera.

My Question is, Is AngulerJS support Opera browser or not?

Regards,
Nand

Peter Bacon Darwin

unread,
Jan 10, 2013, 3:00:41 PM1/10/13
to ang...@googlegroups.com
Can you describe what is not working?

Pawel Kozlowski

unread,
Jan 10, 2013, 3:07:50 PM1/10/13
to ang...@googlegroups.com
Hi!


On Thu, Jan 10, 2013 at 8:59 PM, Nand <nandkisho...@gmail.com> wrote:
>
> My Question is, Is AngulerJS support Opera browser or not?

It does.
FYI, all the AngularJS unit tests are executed upon each check-in on
multiple browsers, Opera being one of them.
Here is the prof:
http://ci.angularjs.org/view/AngularJS/job/angular.js-angular-master/402/testReport/

This being said it might happen that there is functionality not
covered by unit tests and there might be something that there is a bug
hiding out. This is why it is so important to have a precise info
about what is not working for you, what is the reproduce scenario etc.

Cheers,
Pawel


--
Question? Send a fiddle
(http://jsfiddle.net/pkozlowski_opensource/Q2NpJ/) or a plunk
(http://plnkr.co/)
Need help with jsFiddle? Check this:
http://pkozlowskios.wordpress.com/2012/08/12/using-jsfiddle-with-angularjs/

Looking for UI widget library for AngularJS? Here you go:
http://angular-ui.github.com/

Nand

unread,
Jan 10, 2013, 3:17:37 PM1/10/13
to ang...@googlegroups.com
This AngulerJS part not working on Opera browser(Ver 12.12)

------------------------------------------------------

            <tr>

                <td>

                    <img ng-src=http://dirgahayuelektronik.com/image/cache/data/Ipad/ip1-40x40.jpg>

                    {{testdata[0].Number}}

                </td>

                <td colspan = "2" ng-repeat=" testdata in testdatas ">

                    <p>{{testdata.Number}}</p>

                </td>

            </tr>

------------------------------------------------------       

Nand

unread,
Jan 10, 2013, 5:13:19 PM1/10/13
to ang...@googlegroups.com
This AngulerJS part not working on Opera browser(Ver 12.12)

------------------------------------------------------

            <tr>

                <td>

                    <img ng-src=http://dirgahayuelektronik.com/image/cache/data/Ipad/ip1-40x40.jpg>

                    {{testdata[0].Number}}

                </td>

                <td colspan = "2" ng-repeat=" testdata in testdatas ">

                    <p>{{testdata.Number}}</p>

                </td>

            </tr>

------------------------------------------------------


Joshua Miller

unread,
Jan 10, 2013, 5:24:12 PM1/10/13
to angular
Hello!

What doesn't work? Do the values not render? Does the ngRepeat not repeat? Does the ngSrc not update the source?

Josh

PS: You probably want quotes around the ngSrc value.


--

Nand

unread,
Jan 10, 2013, 6:10:24 PM1/10/13
to ang...@googlegroups.com
ngRepeat not repeating in my case.

Lutz Epperlein

unread,
Jan 11, 2013, 3:42:32 AM1/11/13
to ang...@googlegroups.com
As far as I can say this plnk (http://plnkr.co/edit/okkXD77wwsx1a45AOfEU) works here in Opera (Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.12), the only problem I detected with your plnk is the wrong reference to angular.js.

Nand

unread,
Jan 11, 2013, 3:22:59 PM1/11/13
to ang...@googlegroups.com
Thanks Lutz,
Corrected the angular.js in plnk.

When I see the index.html file in Dragonfly, the ng-repeat part commented by browser.
<!-- ngRepeat: testdata in testdatas -->
Don't know why?
Is it because of security in Opera?

BR,
Nand

Joshua Miller

unread,
Jan 11, 2013, 3:30:22 PM1/11/13
to angular

Hello!

One of the ways that angular uses directives is through comments. This is how it knows the repeat still exists after the first run. The comment output is expected.

Side note: when you create your own directives, you can use the comment notation too, through the 'restrict' option.

Josh

Peter Bacon Darwin

unread,
Jan 11, 2013, 3:46:18 PM1/11/13
to ang...@googlegroups.com
The comment node is because ng-repeat transcludes the element on which it was defined to be cloned for each item it is iterating over.  To keep track of where this transclusion was the compiler inserts a comment.
See the generated HTML in this plunk: http://plnkr.co/edit/OxFKWltTTtz0xpNa2bWe?p=preview
Pete
Reply all
Reply to author
Forward
0 new messages