Quantcast
Channel: JAVASCRIPT – Sandy | Full stack Web developer
Browsing all 27 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Angularjs Service — Value and Constant Services

Value Services Shorthand for factory with no parameters Cannot be injected into a module configuration function Can be overridden by an AngularJS decorator Example using value angular.module('app')...

View Article


Image may be NSFW.
Clik here to view.

Angularjs directive

Directives are the most important feature of AngularJS . Before we jump into how to create custom directive, first to understand the relationship between directive Scope and controllers is very...

View Article


Image may be NSFW.
Clik here to view.

React & ES6 project dev enviroment setup

In this day, the JavaScript project set up it was a big complex, and this tutorial will show you how to set up the environment for build react SPA working with ES6. First, create package.json file,...

View Article

Image may be NSFW.
Clik here to view.

Angular 2 Tutorial – movies App

Last time I wrote a blog created the MovieAPI and now I am using that API as back end services to create an angular 2 app. the final source code could find at my github repository.  here is the link...

View Article

Image may be NSFW.
Clik here to view.

Breaking the Records

Maria plays n games of college basketball in a season. Because she wants to go pro, she tracks her points scored per game sequentially in an array defined as score = [S0,S1,…,Sn-1] . After each game i...

View Article


Day of the Programmer

Marie invented a Time Machine and wants to test it by time-traveling to visit Russia on the Day of the Day of the Programmer (the 256th day of the year) during a year in the inclusive range from 1700...

View Article

Image may be NSFW.
Clik here to view.

zigzag conversion leetcode

The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility). Here is the solution using...

View Article
Browsing all 27 articles
Browse latest View live