Properly display JSON in table angular

I have an API which return me a JSON array: {"i":11,"j":12,"iterationNumber":9,"results":[12,6,3,10,5,16,8,4,2,1]} How can I make a table in angular, so the data is displayed correctly? Currently I have this: My html code is: <table clas...
more »

2017-02-14 21:02 (4) Answers

Directive width in pixels

I've been trying to determine the width of an element I'm declaring a directive on. This is my directive link function: link: function (scope, elem, attrs) { var width = elem.width(); scope.zoom = width / 674; } The element's width is 100...
more »

2017-02-14 16:02 (2) Answers

Yii2 + AngularJS PrettyURL enable to work

I'm using Yii2 with AngularJS. I have to call different pages like about us, contact us etc. But my Pretty URL not working Properly. I need PrettyUrl like this: localhost/angularjsyii/frontend/web/site/#/login Current Url which is not working: loc...
more »

2017-02-14 10:02 (1) Answers

Single array JSON object will not print (Ionic 2)

I am pulling data from an API for recipes, I already have a list of recipes which works fine, however I am now calling for a single recipes details (1 object). My console log below is what the JSON looks like. Whatever I do I cannot get to display on...
more »

2017-02-13 18:02 (2) Answers

Angularjs with express seo

I red this article for Angularjs application SEO but i stuck in two points 1) App.js file is not linked with the layout. jade and when i try to link it gives me error r...
more »

2017-02-13 13:02 (0) Answers

Collection-repeat is cutting the last item

I have a collection-repeat like this (see the code below) and works fine, but the last item does not show well when the user scroll down. Why could resolve this? <ion-content on-scroll="moreItens()" style="margin-top:60px; min-height: 600px;" o...
more »

2017-02-13 11:02 (0) Answers

Laravel routes not working on production

I've a Laravel5/angularJS app (beeing Laravel as an api rest and angular for the front-end) At my local environment everything works like charm. But when i upload to a hosting i can only access to the index page, everything else throws a 404. in m...
more »

2017-02-12 20:02 (2) Answers

Give each page a title with angularjs

I make a single page application with angular js 1 but when i click to read an article the title still the same of the home page how can i change the title of each article in page of html thank you stackover flow and if you want to watch my exemple t...
more »

2017-02-12 13:02 (0) Answers

Angular1 SEO with ui-router

I have develop a website which uses ui-router. I have four section header, footer and main_content . And H1 and H2 tag are used in main_content. But when i am checking with SEO tools it gives error that H1 and H2 tag are not found. I have already tri...
more »

2017-02-11 17:02 (0) Answers

Search Engine Optimization with hash in url

I have a site let's say It has urls like Now the front end (which is in angular js) is creating # in the url. The calls first go to nginx and from there they are redirected to django server. Now SEO does not work properly when t...
more »

2017-02-10 18:02 (1) Answers

Switching Between VS Code and VS 2015

I am a single developer starting out on an ASP.Net Core MVC project with Angular 2. I used the Steve Sanderson template VS Angular 2 Template which works well in Visual Studio 2015. Up until now I have been developing the structure, and my understand...
more »

2017-02-10 10:02 (0) Answers

Angularjs Form Processing

I'm trying to process the submitted data object from a form but I'm stuck. I have done some researches on this site and spent hours reading but I didn't get any answer. I can get the form data without a problem, the issue is when a customer registers...
more »

2017-02-10 06:02 (2) Answers