Skip to content

Instantly share code, notes, and snippets.

Jonathan Solorzano fenixsolorzano

Block or report user

Report or block fenixsolorzano

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View guia3ej15
using System;
using System.Numerics;
namespace Guia3Ej15
{
public class Program
{
public static void Main()
{
double a, b;//Variables para numero complejo1
@fenixsolorzano
fenixsolorzano / content.service.js
Created Nov 14, 2015
This is a service to get the json file that contains the static data of a website, it's used in this controller: https://gist.github.com/feniixx/1b170ed39a557329372e
View content.service.js
(function () {
'use strict';
angular
.module( 'app.core' )
.service( 'contentService', contentService );
contentService.$inject = [ '$http' ];
@fenixsolorzano
fenixsolorzano / purchases-dashboard.controller.js
Created Nov 14, 2015
Example controller where contentService is called and used
View purchases-dashboard.controller.js
(function () {
'use strict';
angular
.module( 'app.purchases' )
.controller( 'PurchasesDashboardController', PurchasesDashboardController );
PurchasesDashboardController.$inject = [ '$scope', 'contentService' ];
@fenixsolorzano
fenixsolorzano / read-product.factory.js
Created Nov 7, 2015
Factory for READ products data.
View read-product.factory.js
(function () {
'use strict';
angular
.module( 'app.purchases.products' )
.factory( 'ReadProductFactory', ReadProductFactory );
ReadProductFactory.$inject = [ 'Restangular' ];
@fenixsolorzano
fenixsolorzano / read-product.controller.js
Last active Nov 7, 2015
Angular Controller that needs improvements. Here's the ReadProductFactory -> https://goo.gl/etvuqq
View read-product.controller.js
(function () {
'use strict';
angular
.module( 'app.purchases.products' )
.controller( 'ReadProductController', ReadProductController );
//Check out the description to go to ReadProductFactory
ReadProductController.$inject = [ '$scope', 'ReadProductFactory' ];
You can’t perform that action at this time.