Comments (4)
Hi @jolleman, the problem may be that the version of WinJS UI you are using doesn't align to the version of WinJS that angular-winjs expects. Currently the angular-winjs project is aligned to WinJS 4.0 Preview, which you can also get from trywinjs. The version of WinJS 4.0 that your build of visual studio is using may be a newer point-in-time version of WinJS 4.0.
The first thing I would try is downloading WinJs 4.0 Preview from the trysite, adding it locally to you project, and replace the references to
<link rel="stylesheet" href="lib/Microsoft.WinJS.4.0/css/ui-light.css" />
<script src="lib/Microsoft.WinJS.4.0/js/WinJS.min.js"></script>
with the src to your local copy of WinJS 4.0 preview, and see if that doesn't resolve your issue.
We plan to update angular-winjs and all the samples on the try site to use WinJS 4.0, shortly after the upcoming release of WinJS 4.0 itself.
from angular-winjs.
Hi!
ive tried that. I get an angular undefined at line 363 in angular-winjs. Does angular-winjs require the angularjs library?
var module = angular.module("winjs", []);
Regards Joel
from angular-winjs.
The angularjs library does need to be loaded, but it looks like you are already doing that correctly in the code snippet you pasted above.
Can you provide a page/app which repros this behavior as described on our wiki. So we can take a look at it?
from angular-winjs.
@jolleman, Thinking about this some more, it might be a conflict with Universal App script loading policies. I assume you are seeing this issue when you try to run as a Win 10 app in visual studio?
If you are not able to get us a repro page/app to investigate, I would try running the same HTML file on a website, or copy the Angular library locally to your Visual Studio project and reference it from there.
from angular-winjs.
Related Issues (20)
- Tool Bar Command 'selected' property not binding.
- Module 'ngLocale' is not available
- SplitView opened-display-mode: overlay makes commands inaccessable HOT 2
- win-item-template dows not work with Angular 1.5.7 directives
- Optimizing the amount of watchers
- Flyout is hidden when typing button Alt HOT 1
- Can we change code distributed for angular-winjs as it is under MIT license? HOT 2
- Support for Angular 2.0 HOT 1
- winjs as dependency HOT 1
- Support for Angular 1.4/1.5 HOT 7
- Pivot Control - SelectedIndex/Item attributes are still not working HOT 2
- Pivot Control - SelectedIndex/Item attributes are still not working
- Pivot - Wrong tab direction first time load
- Angular2 adapter for winjs is needed HOT 1
- How to dynamically replace content in Angular-WinJS win-split-view-pane? HOT 1
- AutoSuggestBox doesn't set the selected value HOT 1
- Filtering listView issue HOT 8
- Two-way-databinding doesn't work for win-toolbar-command attributes
- is angular 1.3 is the stable version used for winjs?
- Support adapter for angular2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-winjs.