modulepackage
0.0.0-20210918174808-1492dd8216ac
Repository: https://github.com/wvell/go-angularjs.git
Documentation: pkg.go.dev
# README
go-angularjs
A wrapper for AngularJS to be used with GopherJS.
Project status
Angularjs is being used less and there are better/newer alternatives that should be used. The support for angularjs will stop on December 31, 2021(https://docs.angularjs.org/misc/version-support-status).
Therefore this project is archived and will not be maintained anymore.
Examples
Run the examples in the example directory with gopherjs serve
.
# Packages
No description provided by the author
# Functions
GetFuncInjectables reads the function arguments and transforms them to *Inject resources.
GetResource returns the resource for a given reflect.Type.
MakeFuncInjectable returns a func that transforms *js.Object's to the corresponding go types.
NewModule makes a new angular module.
RegisterResource registers a resource that can be injected.
Service gets a service trough the global $injector.
# Structs
Deferred is angulars defer object returned from $q.defer().
Directive is the go variant of an angular directive At least a templateURL should be given.
Element is a basic jqLite angular element.
Event is an angular event from $emit/$broadcast.
Inject represents a resource that can be injected into an controller/directive/route-resolve func.
Location implements $location.
No description provided by the author
Module is an angular module.
Q represets angulars $q.
RootScope is the angular $rootScope.
Route is the angular $route.
RouteConfig is an implementation of the config used to $routeProvider.when.
RouteParams is a copy of $routeParams.
RouteProvider implements $routeProvider.
Scope is the angular $scope.
# Type aliases
No description provided by the author