Error: [ng:cpws] Can't copy! Making copies of Window or Scope instances is not supported
See original GitHub issueHello,
I have a ng:cpws
error using your this plugin and the yeoman genenator :
I simply generate a new angular project :
app/views/main.html
<datetimepicker data-ng-model="main.date" date-format="dd-MMM-yyyy"></datetimepicker>
app/scripts/app.js
$routeProvider
.when('/', {
templateUrl: 'views/main.html',
controller: 'MainCtrl',
controllerAs: 'main'
})
.otherwise({
redirectTo: '/'
});
});
app/scripts/controllers/main.js
angular.module('nodejsApp')
.controller('MainCtrl', function () {
this.date = new Date();
});
It does not work, with or without any custom options…
Do you have an idea please ?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
AngularJS [ng:cpws] Can't copy! Making copies of Window or ...
[ng:cpws] Can't copy! Making copies of Window or Scoper instances is not supported. The related code is guess is the following one:
Read more >[ng:cpws] Can't copy! Making copies of Window or Scope ...
Error : [ng:cpws] Can't copy! Making copies of Window or Scope instances is not supported. When upgrading to Angular 1.6.0+, upon $scope.
Read more >Error: [ng:cpws] Can't copy! Making copies of Window or ...
This error from AngularJS sort of tells what the problem is, but does not ... Making copies of Window or Scope instances is...
Read more >angular/angular.js - Gitter
I came across Error: [ng:cpws] Can't copy! Making copies of Window or Scope instances is not supported issue after upgrading angularJS from 1.5.11...
Read more >Error: ng:cpws Copying Window or Scope - AngularJS API Docs
Can't copy ! Making copies of Window or Scope instances is not supported. Description. Copying Window or Scope instances is not supported because...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can try the latest commit now. Plunker: http://plnkr.co/edit/qRhNlfTWlt9wIexa3WbB?p=preview
Updated plugin version