Teemu Peltomaa7435512
Posts: 0
Joined: Tue Mar 17, 2015 9:53 am

Can't edit newly created functions in AngularJS app

As of today, I can no longer edit newly created functions on my Angular JS app in the scope view. Clicking the typeable area, nothing happens and in the console it outputs "Uncaught TypeError: Cannot read property 'controller' of undefined". Functions which already had code are editable and work normally.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Can't edit newly created functions in AngularJS app

Hi Teemu -

Seems to be a bug, thanks for letting us know we will report.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Can't edit newly created functions in AngularJS app

Could you please clarify what browser you are using? We've checked this in Chrome and Safari and everything works for us.

Please share your app with us and tell us its name, we'll take a look.

Teemu Peltomaa7435512
Posts: 0
Joined: Tue Mar 17, 2015 9:53 am

Can't edit newly created functions in AngularJS app

I've tried it with Chrome and Firefox and both in Incognito-mode with the same results.

The app is named "Vaatekaappi" and there are empty-functions on the "Vaatekaappi"-page, because no code can be added to them. On the "Listaus"-page there are functions I was able to create earlier and they can still be edited. I can also create new functions to that page. So, could the problem be related to how those pages use their controllers?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Can't edit newly created functions in AngularJS app

Thank you, Teemu! We've forwarded this issue to our developers, we will let you know when we have any news on it.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Can't edit newly created functions in AngularJS app

Looks like this is related to the same project name and screen name usage in the project. You can try rename the Screen name 'Vaatekaappi' or Project name 'Vaatekaappi'.

Teemu Peltomaa7435512
Posts: 0
Joined: Tue Mar 17, 2015 9:53 am

Can't edit newly created functions in AngularJS app

Thank you very much! Works like a charm!

Return to “Issues”